package com.mspbots.core.tsheets;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.mspbots.core.DefaultBaseService;

import java.util.List;

/**
 * com.mspbots.core.mapper.SheetsTimeService
 *
 * @author Alex bob(https://github.com/vnobo)
 * @date Created by 2019/7/26
 */
public interface SheetsTimeService extends DefaultBaseService<SheetsTime> {

    /**
     * dto any list
     *
     * @param queryParams query
     * @return SheetTimesDTO
     */
    List<SheetsTime> analysisList(SheetsTime queryParams);

    /**
     * dto any apge
     *
     * @param page         page object
     * @param queryWrapper query
     * @return
     */
    IPage<SheetsTime> analysisPage(Page<SheetsTime> page, SheetsTime queryWrapper);

    SheetsTime findLast(SheetsTime queryParams);
}
